const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var schema_user      = new mongoose.Schema( { loginName:String,loginPwd:String,userSex:String,userType:String,userName:String,userQQ:String,userPhone:String,userEmail:String,userFlag:Number,payPwd:String});
schema_user.plugin(mongoosePaginate);
const User           = mongoose.model('User',schema_user,'user');
      module.exports = User;